package com.epam.web_project.bank.dao.account_dao;

import java.util.List;

import com.epam.web_project.bank.entity.Account;
import com.epam.web_project.bank.exception.UnimplemetedException;

public interface AccountDAO {
	public boolean save(Account account);
	public boolean save(List<Account> accounts) throws UnimplemetedException;
	public boolean update(Account account);
	public boolean markDeleted(Account account);
	public boolean delete(Account account) throws UnimplemetedException;
	public String block(Account account);
	public String unblock(Account account);
	public Account findByCustomerNameAndCard(String firstName, String lastName,
			String cardNumber);
	public Account findByCurrency(String currency) throws UnimplemetedException;
	public Account findById(int id);
	public List<Account> findByCustomerId(int customerId, boolean onApproval);
}
